package com.xinou.daily_report.service;

import com.xinou.common.base.config.ApiResponse;
import com.xinou.daily_report.PO.NotificationPO;
import com.xinou.daily_report.PO.NotificationUpdatePO;
import com.xinou.daily_report.VO.NotificationVO;
import com.xinou.daily_report.entity.SysNotification;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-06-25
 */
public interface SysNotificationService extends IService<SysNotification> {

    ApiResponse<NotificationVO> notificationList(NotificationPO notificationPO);

    ApiResponse<Void> notificationSave(NotificationPO notificationPO);


    ApiResponse<Void> notificationDelete(NotificationPO notificationPO);

    ApiResponse<NotificationVO> notificationGetById(NotificationPO notificationPO);

    ApiResponse<Void> notificationUpdate(NotificationUpdatePO po);

    ApiResponse<NotificationVO> notificationInfo(NotificationPO po);

    ApiResponse<Void> notificationUpdateSingle(NotificationPO notificationPO);

    ApiResponse<NotificationVO> notificationListDown(NotificationPO notificationPO);
}
